package com.ckr.controller;

import com.ckr.service.AsyncService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author Shadowckr
 * @create 2022-01-18 17:26
 */

@RestController
public class AsyncController {
    @Resource
    AsyncService asyncService;

    @GetMapping("/hello")
    public String hello() {
        asyncService.hello();
        return "success";
    }
}
